
;#include <Main.au3>	;temp Test


; #CURRENT# ----------------------------------------------
; prepareMain
; 
;--------------------------------------------------------- 

; #Function# ---------------------------------------------
; Name...........: prepareMain
; Description ...: 
; Parameters ....: 
; Return values .: NA
;----------------------------------------------------------


;test_S
;FileCreateShortcut ( "file", "lnk" [, "workdir" [, "args" [, "desc" [, "icon" [, "hotkey" [, icon number [, state]]]]]]] )
;FileCreateShortcut("c:\test.exe",@StartupDir &"\testEXE.lnk")
;test_E

Const $exeName_GenExpectedFile	= "GenerateExpectedFile.exe"
Const $exeName_SetupDS			= "SetupDiskSafe.exe"			    ;GUI.au3		
Const $exeName_SetupDS_Main		= "MainFunctionSetupDiskSafe.exe"	;Main.au3
Const $lnkName_SetupDS_Main		= "MainFunctionSetupDiskSafe.lnk"	;Main.lnk


Func prepareMain()	
	
	
	;MsgBox(0,"","prepareMain()")
	ToolTip(@CRLF & "Create MainFunctionSetupDiskSafe.lnk..." & @CRLF & " ", @DesktopWidth - 200, @DesktopHeight - 170, "Prepare",1)	;1= Info icon
	sleep(1000)
	
	FileCreateShortcut(@ScriptDir&"\"&$exeName_SetupDS_Main,@StartupDir &"\"&$lnkName_SetupDS_Main)	
	;MsgBox(0,"","Close Windows...")
		
	Sleep(2000)
	RunWait($exeName_SetupDS_Main)
			
EndFunc
		
		
		
		
		
		
		
		
		
		
		
		
		